package com.founder.gateway.orm.fzapi.bean.dto;
import com.founder.gateway.orm.fzapi.bean.entity.ApiEntityEntity;
import java.util.*;
import org.setu.framework.bean.BaseDto;
import org.setu.framework.jdbc.core.Column;
import org.setu.framework.utils.DateTimeHelper;
/**
 * 
 * @author: hfl 
 */
public class ApiEntityDto extends BaseDto<ApiEntityEntity>{

	private static  final long serialVersionUID = 1L;

	public ApiEntityDto(){
	}

	public static final String TABLE_NAME= "api_entity";

	public static final String id= "id";
	public static final Column id_C= new Column(id);

	public static final String app_name= "appName";
	public static final Column app_name_C= new Column(app_name);

	public static final String group_name= "groupName";
	public static final Column group_name_C= new Column(group_name);

	public static final String api_id= "apiId";
	public static final Column api_id_C= new Column(api_id);

	public static final String method= "method";
	public static final Column method_C= new Column(method);

	public static final String automatic_entity= "automaticEntity";
	public static final Column automatic_entity_C= new Column(automatic_entity);

	public static final String imple_mode= "impleMode";
	public static final Column imple_mode_C= new Column(imple_mode);

	public static final String protocol= "protocol";
	public static final Column protocol_C= new Column(protocol);

	public static final String url= "url";
	public static final Column url_C= new Column(url);

	public static final String authentication= "authentication";
	public static final Column authentication_C= new Column(authentication);

	public static final String status= "status";
	public static final Column status_C= new Column(status);

	public static final String valid= "valid";
	public static final Column valid_C= new Column(valid);

	public static final String version= "version";
	public static final Column version_C= new Column(version);

	public static final String xt_lrsj= "xtLrsj";
	public static final Column xt_lrsj_C= new Column(xt_lrsj);

	public static final String xt_lrrxm= "xtLrrxm";
	public static final Column xt_lrrxm_C= new Column(xt_lrrxm);

	public static final String xt_lrrid= "xtLrrid";
	public static final Column xt_lrrid_C= new Column(xt_lrrid);

	public static final String xt_lrip= "xtLrip";
	public static final Column xt_lrip_C= new Column(xt_lrip);

	public static final String xt_zhxgsj= "xtZhxgsj";
	public static final Column xt_zhxgsj_C= new Column(xt_zhxgsj);

	public static final String xt_zhxgrxm= "xtZhxgrxm";
	public static final Column xt_zhxgrxm_C= new Column(xt_zhxgrxm);

	public static final String xt_zhxgrid= "xtZhxgrid";
	public static final Column xt_zhxgrid_C= new Column(xt_zhxgrid);

	public static final String xt_zhxgip= "xtZhxgip";
	public static final Column xt_zhxgip_C= new Column(xt_zhxgip);

	public static final String xt_zxbz= "xtZxbz";
	public static final Column xt_zxbz_C= new Column(xt_zxbz);

	public static final String xt_zxyy= "xtZxyy";
	public static final Column xt_zxyy_C= new Column(xt_zxyy);



	public String getId(){
		return po.getId();
	}

	public void setId(String id){
		 po.setId(id);
	}

	public String getAppName(){
		return po.getAppName();
	}

	public void setAppName(String appName){
		 po.setAppName(appName);
	}

	public String getGroupName(){
		return po.getGroupName();
	}

	public void setGroupName(String groupName){
		 po.setGroupName(groupName);
	}

	public String getApiId(){
		return po.getApiId();
	}

	public void setApiId(String apiId){
		 po.setApiId(apiId);
	}

	public String getMethod(){
		return po.getMethod();
	}

	public void setMethod(String method){
		 po.setMethod(method);
	}

	public Boolean getAutomaticEntity(){
		return "1".equals(po.getAutomaticEntity())?true:Boolean.parseBoolean(po.getAutomaticEntity());
	}

	public void setAutomaticEntity(boolean automaticEntity){
		 po.setAutomaticEntity(automaticEntity?"1":"0");
	}

	public String getImpleMode(){
		return po.getImpleMode();
	}

	public void setImpleMode(String impleMode){
		 po.setImpleMode(impleMode);
	}

	public String getProtocol(){
		return po.getProtocol();
	}

	public void setProtocol(String protocol){
		 po.setProtocol(protocol);
	}

	public String getUrl(){
		return po.getUrl();
	}

	public void setUrl(String url){
		 po.setUrl(url);
	}

	public String getAuthentication(){
		return po.getAuthentication();
	}

	public void setAuthentication(String authentication){
		 po.setAuthentication(authentication);
	}

	public String getStatus(){
		return po.getStatus();
	}

	public void setStatus(String status){
		 po.setStatus(status);
	}

	public String getValid(){
		return po.getValid();
	}

	public void setValid(String valid){
		 po.setValid(valid);
	}

	public String getVersion(){
		return po.getVersion();
	}

	public void setVersion(String version){
		 po.setVersion(version);
	}

	public Date getXtLrsj(){
		return  DateTimeHelper.parseToDate(po.getXtLrsj());
	}

	public void setXtLrsj(Date xtLrsj){
		 po.setXtLrsj(DateTimeHelper.formatDateTimetoString(xtLrsj));
	}

	public String getXtLrrxm(){
		return po.getXtLrrxm();
	}

	public void setXtLrrxm(String xtLrrxm){
		 po.setXtLrrxm(xtLrrxm);
	}

	public String getXtLrrid(){
		return po.getXtLrrid();
	}

	public void setXtLrrid(String xtLrrid){
		 po.setXtLrrid(xtLrrid);
	}

	public String getXtLrip(){
		return po.getXtLrip();
	}

	public void setXtLrip(String xtLrip){
		 po.setXtLrip(xtLrip);
	}

	public Date getXtZhxgsj(){
		return  DateTimeHelper.parseToDate(po.getXtZhxgsj());
	}

	public void setXtZhxgsj(Date xtZhxgsj){
		 po.setXtZhxgsj(DateTimeHelper.formatDateTimetoString(xtZhxgsj));
	}

	public String getXtZhxgrxm(){
		return po.getXtZhxgrxm();
	}

	public void setXtZhxgrxm(String xtZhxgrxm){
		 po.setXtZhxgrxm(xtZhxgrxm);
	}

	public String getXtZhxgrid(){
		return po.getXtZhxgrid();
	}

	public void setXtZhxgrid(String xtZhxgrid){
		 po.setXtZhxgrid(xtZhxgrid);
	}

	public String getXtZhxgip(){
		return po.getXtZhxgip();
	}

	public void setXtZhxgip(String xtZhxgip){
		 po.setXtZhxgip(xtZhxgip);
	}

	public Integer getXtZxbz(){
		return Integer.parseInt(po.getXtZxbz());
	}

	public void setXtZxbz(int xtZxbz){
		 po.setXtZxbz(String.valueOf(xtZxbz));
	}

	public String getXtZxyy(){
		return po.getXtZxyy();
	}

	public void setXtZxyy(String xtZxyy){
		 po.setXtZxyy(xtZxyy);
	}

}
